package yb.ecp.fast.oplog.entity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 *  ss 对象 M_OP_LOG
 */
@ToString
@Builder
@Data
@AllArgsConstructor(access = AccessLevel.PRIVATE)
@NoArgsConstructor
@ApiModel(value = "OpLog",description = "ss")
public class OpLog  implements Serializable {
    private static final long serialVersionUID = -1L;
    //PK
    @ApiModelProperty(value="PK",name="id")
    private String id;
    //关联记录的id,方便追踪
    @ApiModelProperty(value="关联记录的id,方便追踪",name="searchId")
    private String searchId;
    //创建人所属orgId
    @ApiModelProperty(value="创建人所属orgId",name="orgId")
    private String orgId;
    //发送请求内容
    @ApiModelProperty(value="发送请求内容",name="msgJson")
    private String msgJson;
    //路径
    @ApiModelProperty(value="路径",name="method")
    private String method;
    //结果(可选)
    @ApiModelProperty(value="结果(可选)",name="resultMsg")
    private String resultMsg;
    //用户
    @ApiModelProperty(value="用户",name="userId")
    private String userId;
    //用户
    @ApiModelProperty(value="用户",name="userName")
    private String userName;
    //更新时间
    @ApiModelProperty(value="更新时间",name="updatedTime")
    private Date updatedTime;
}
